#ifndef DRAWING_VERTEX_H
#define DRAWING_VERTEX_H

namespace drawing {

	struct Vertex
	{
	public:
		int PosIndex;
		int TexCoordIndex;
		int NormalIndex;

		Vertex( int posIndex, int texCoordIndex, int normalIndex );
		Vertex( const Vertex& other );
		Vertex& operator=( const Vertex& other );
	};

	inline bool operator == ( const Vertex& a, const Vertex& b ) {
		return
			a.PosIndex == b.PosIndex &&
			a.TexCoordIndex == b.TexCoordIndex &&
			a.NormalIndex == b.NormalIndex;
	}

	inline bool operator != ( const Vertex& a, const Vertex& b ) {
		return !( a == b );
	}

}

#endif
